﻿<%@ Page Title="Quản lý đơn vị" Language="C#" MasterPageFile="~/Admin/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Solutions.Admin.QuanLyDonVi.Default" %>

<%@ Register TagName="QuanLyDonVi" TagPrefix="QuanLyDonVi" Src="~/Admin/QuanLyDonVi/QuanLyDonVi.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        // <![CDATA[
        function grid_SelectionChanged(s, e) {
            s.GetSelectedFieldValues("sTenControl", GetSelectedFieldValuesCallback);
        }
        function GetSelectedFieldValuesCallback(values) {
            selList.BeginUpdate();
            try {
                selList.ClearItems();
                for (var i = 0; i < values.length; i++) {
                    selList.AddItem(values[i]);
                }
            } finally {
                selList.EndUpdate();
            }
            document.getElementById("selCount").innerHTML = grid.GetSelectedRowCount();
        }
        // ]]>
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <QuanLyDonVi:QuanLyDonVi runat="server" ID="ModuleDonVi" />
</asp:Content>
